var domains = {
    "google.com": 1,
	"google.com.hk": 1,
	"gstatic.com": 1,
	"googleusercontent.com": 1,
    "googleapis.com":1,
	"gmail.com": 1,
    "youtube.com": 1,
	"www.promeai.pro":1,
	"www.promeai.com":1,
    "gtemp1.promeai.pro":1,
    "imagep.promeai.pro":1,
    "imagef.promeai.pro":1,
    "wikipedia.org":1,
    "bootstrapcdn.com":1,
    "archive.org":1,
    "onedrive.live.com":1,
    "mega.nz":1,
    "g.api.mega.co.nz":1,
    "aznude.com":1,
    "pornhub.com":1,
	"ev-h.phncdn.com":1,
	"ei.phncdn.com":1,
	"ew.phncdn.com":1,
	"ss.phncdn.com":1,
	"ev.phncdn.com":1,
    "cdn1d-static-shared.phncdn.com":1,
    "fs1.app":1,
	"drtuber.com":1,
	"drtst.com":1,
	"udvl.com":1,
	"smutr.com":1,
    "addons.mozilla.org":1,
    "xhamster.com":1,
    "txxx.com":1,
    "hclips.com":1,
    "ixxx.com":1,
    "xxxz.tv":1,
	
};
 
var proxy = "SOCKS5 127.0.0.1:10808; SOCKS 127.0.0.1:10808; PROXY 127.0.0.1:10809; DIRECT;";
 
var direct = 'DIRECT;';
 
function FindProxyForURL(url, host) {
    var lastPos;
    do {
        if (domains.hasOwnProperty(host)) {
            return proxy;
        }
        lastPos = host.indexOf('.') + 1;
        host = host.slice(lastPos);
    } while (lastPos >= 1);
    return direct;
}
